package com.zzzyh.springteans.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class UserInfo {
    private Integer id;
    private String userName;
    private String password;
    private Date createTime;
    private Date updateTime;

    public UserInfo(String userName, String password) {
        this.userName = userName;
        this.password = password;
    }
}
